package org.budo.dubbo.protocol.http.sign;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 标注在接口/类或方法上，表示通过dubbo-http请求此方法需要验证sign
 * 
 * @author lmw
 * @see org.budo.dubbo.protocol.http.sign.ProviderSideSignFilter
 */
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface SignCheck {
    boolean value() default true;
}